package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (TbUsers)实体类
 *
 * @author makejava
 * @since 2023-07-10 09:07:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_users")
public class TbUsers implements Serializable {
    private static final long serialVersionUID = 611217562909634393L;
    @TableId(type = IdType.AUTO)
    private Integer userId;
    
    private String userName;
    
    private String userCode;
    
    private Integer userState;
    
    private Integer userShortname;
    
    private String userCodename;
    
    private String userAere;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userAddtime;
    
    private Integer userA;
    
    private Integer userB;
    
    private Integer userC;
    
    private Integer userD;
    
    private Integer userE;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public Integer getUserShortname() {
        return userShortname;
    }

    public void setUserShortname(Integer userShortname) {
        this.userShortname = userShortname;
    }

    public String getUserCodename() {
        return userCodename;
    }

    public void setUserCodename(String userCodename) {
        this.userCodename = userCodename;
    }

    public String getUserAere() {
        return userAere;
    }

    public void setUserAere(String userAere) {
        this.userAere = userAere;
    }

    public Date getUserAddtime() {
        return userAddtime;
    }

    public void setUserAddtime(Date userAddtime) {
        this.userAddtime = userAddtime;
    }

    public Integer getUserA() {
        return userA;
    }

    public void setUserA(Integer userA) {
        this.userA = userA;
    }

    public Integer getUserB() {
        return userB;
    }

    public void setUserB(Integer userB) {
        this.userB = userB;
    }

    public Integer getUserC() {
        return userC;
    }

    public void setUserC(Integer userC) {
        this.userC = userC;
    }

    public Integer getUserD() {
        return userD;
    }

    public void setUserD(Integer userD) {
        this.userD = userD;
    }

    public Integer getUserE() {
        return userE;
    }

    public void setUserE(Integer userE) {
        this.userE = userE;
    }

}

